package com.myzl.coal.domain;

import com.myzl.common.annotation.Excel;
import com.myzl.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 命令下发记录对象 command_record
 *
 * @author myzl
 * @date 2022-10-26
 */
@Data
public class CommandRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private String id;

    /** 命令类型(1PLC) */
    @Excel(name = "命令类型(1PLC)")
    private Integer deviceType;

    /** 设备id */
    @Excel(name = "设备id")
    private Integer deviceId;

    /** 执行状态状态(0执行中 1成功 2失败) */
    @Excel(name = "执行状态状态(0执行中 1成功 2失败)")
    private Integer commandStatus;

    /** 命令 */
    @Excel(name = "命令")
    private String command;

    /** 发送命令 */
    @Excel(name = "发送命令")
    private String sendCmd;
    /** 回复命令 */
    @Excel(name = "回复命令")
    private String callBackCmd;

    /** 来源(1自动下发 2手动下发) */
    @Excel(name = "来源(1自动下发 2手动下发)")
    private String commandSource;


}
